<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <div class="item">item</div>
    <div class="item1">item1</div>
  </body>
  <style>
    .item {
      height: 100px;
      width: 100px;
      background-color: #ff0;
      transform: translate(100px, 100px) rotate(120deg);
    }
    .item1 {
      height: 100px;
      width: 100px;
      background-color: #ff0;
      transform: rotate(120deg);
    }
  </style>
</html>
